package com.wsb.wetchat.exption;

/**
 * @author wang shaobo
 * @date 2022/6/30  9:52
 */
public enum ExpectionEnum {

    ERROR(500,"服务器异常"),
    ;
    private int code;
    private String info;

    ExpectionEnum(int code, String info) {
        this.code = code;
        this.info = info;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
